<?php /* Smarty version 2.6.18, created on 2011-03-07 17:14:30
         compiled from admin/profile/edit_profile.tpl */ ?>
<br /> <hr /> <br />
<h3> <?php echo $this->_tpl_vars['page_message']; ?>
 </h3> <br />
	<form method="POST" action="<?php echo @APPLICATION_URL; ?>
admin/saveprofile" onsubmit="copyType()" enctype="multipart/form-data">
		<input type="hidden" id="profile_id" name="profile_id" value="<?php echo $this->_tpl_vars['profile_id']; ?>
" />
		<input type="hidden" id="profile_type" name="profile_type" value="<?php echo $this->_tpl_vars['profile_type']; ?>
" />
		<input type="hidden" id="return_url" name="return_url" value="<?php echo $this->_tpl_vars['return_url']; ?>
" />
		<b> Profile title: </b><input type="text" id="profile_title" name="profile_title" value="<?php echo $this->_tpl_vars['profile_title']; ?>
" /> <br />
		<?php echo $this->_tpl_vars['image_list']; ?>

		<input type="file" id="profile_image1" name="profile_image1" style="width:285px"/>
		<input type="file" id="profile_image2" name="profile_image2" style="width:285px"/>
		<input type="file" id="profile_image3" name="profile_image3" style="width:285px"/>
		<br />
		<?php echo $this->_tpl_vars['fck_editor']; ?>

		<input type="submit" class="btn_add" value="Save" />
		<input id="btnCancelEdit" type="button" class="btn_add" value="Cancel" onclick="cancelEditProfile()" />
	</form>